#!/bin/bash
#PBS -l nodes=4:ppn=16
#PBS -N v5
#PBS -o $JOB_ID.err
#PBS -l walltime=00:15:00
#PBS -e errors.txt
#PBS -o output.txt
module purge 
module load openmpi/1.7.2-intel-13.0 

cd /home/bfakhri/cse-494-hpc-2/proj2/milestone2/mpi/
pwd
export KMP_AFFINITY=norespect,scatter
export OMP_NUM_THREADS=8
(time mpirun -pernode ./testNodes.exec) 1> basic.txt
